preliminary support for phantom classes and methods