Remove unneccesary virtual functions