Create layout margin and padding functions for helper classes.