Fix for rest methods listing and non existing op variable (op should have been method).