Fix static var accessibility and deflect method to return void