Cleaned up the references to the HWND in the derived classes.