Get layers in category helper method