Allow disabling of anonymous definitions in resolve calls