Creates functions for some repetitive tasks, adds a few new mixins