Added inherits from the peerjs project