added mimetype to link class