Pull out synchronous createRecord into private method.