Added ability to use another schemas on model definition