implement media tags on documents for BSP

This should be a must use plugin.