Support for partial classes and methods