Could you post the top several lines of your "ClassY" code. Including the namespace and the Class declaration?