Renamed the functions and unit tests for pdf fields.