Adds getter for the block classes