Stub API with support for CoffeeScript