Cleaned up code

Removed unnecessary checks on interface functions.

Removed unnecessary assignments in destroyer.

Refined disconnect cleanup code.