I have a class(scoreboard) which needs to include a handle to another class (env) which is compiled later in the flow . they are in one package. Because scoreboard is compiled later than env, so there is compile error if I just write as below in scoreboard .