Changed permissions and removed unused mappings.