Added methods for retrieving all blocks of a certain type.