trying to inherit schema.methods