Add basic support for custom blocks.