Weird abstract method error