Block class and template partially implemented