Add some virtual functions