Remove redundant codetag and typehint the super class
Change quit() to disconnect()