Fix for abstract method error