Added support for block, metadata and materials