Use reopenClass instead of reopen.