@lhazlewood, may be it should be

```javascript
Application.prototype.createAccountStoreMapping = function createAccountStoreMapping(accountStoreMapping, callback){
   var mapping = require('./ResourceFactory').instantiate(AccountStoreMapping, accountStoreMapping, null, this.dataStore);
   mapping.setApplication(this);
   return this.dataStore.createResource('/accountStoreMappings', null, mapping, AccountStoreMapping, callback);
}
```