Fixed issues with abstract methods in examples.