Layers, groups, and blocks have been enhanced

Several enhancements have been made to layers, groups and blocks.