Added pixel and point type mixins from other projects.