Fix abstract class function definition.