Added javadocs for helper methods and use block type get method