Removed excess declaration and added a simple block rendering handler wrapper