Add support for media entities.