Create an abstract class

http://ideone.com/DCGHN5