Can a class define a default superclass function?