Remove mappings from code, they need to be put under ES config in 4.1