Deep models handling

Recursively adding to the required models the deep models