Implemented "before" part of Sections macro