automatically qualify references to class constants and methods