Mapping exception now doesn't contain all the code.