Added type to media.