Implement reverts if map isn't defined. #12