Resolved an issue with media associations and model namespace