Change scope of class example