Working on porting layout to semantic.gs