[FEATURE #1234] Added sumFoo method to DemoClass