Moved CPR location decoding into the library.