Add a Typeable instance for MonitorRef