Marked every public element as virtual

Required for mocking to work