Feature #5157 - Wiring new media model into EJB and extra Gallery application consumer.
(adapting social network too)