New exceptions system and first commit for media manager module.