added ability to get all attributes of a certain path length, removed superfluous dependence on model in Schema class.