Allow extended class to access variable