mappings should be declared outside of plugin file