Made all methods virtual.