#23 created common abstract ancestor for media template containers