gave routing methods access to model schemas