Bugfix. Marked methods as virtual.