Added nested belongs_to functionality.