Mark Dispose as virtual, fixes #709