updated media_spec to be able to generate docs