moved setowner; added mimetype mixin