Improved Pants block and pants_status field handling.