Fix issue #34, example for custom mapping should not be global