Updated styles
Added requirement to extend the Media model