All dependencies of nested class need to be present in the owner class