Added method to get all blocks in Selection