Reverted changes back to the (working) RexPro method.