changed function calls from getBlockTypeClassByHandle() to getBlockTypeClass()