implemented mimetypes for mixins

A proposed fix for #6