1. CLEANUP: Removed double definition of media type parameter grammar rule.
2. ADDED: Added media type database access.