Cleanup mapper.