Parsing block definitions

Parsing the definitions for custom blocks.