Remove virtual function calls from constructors