Slight changes to media_type model to allow population of database.