added media_type to bp() mixin