Fix _formBlockType and createBlockType