Configure mapping properly.