Creating a custom decorator using blueprint