Try to have static assignment outside of constructor function.