Fix bug with Assign and type dependencies

The Assign in ReturnTypeDependencies shadowed the one from the main class, that still needed to be called