What is the purpose of the empty `function() {}` here? this looks like it would be the `as` method in your api example in #291?