getattr()setattr() for connect functions