switched from Mimetype to string, seems to be missing from PCL