Remove test for non-delegated method
Add missing optional first parameter in as_json