add doctrine commin requirement to handle determing the class of block instances