Created the overrides for the persistentconnection