Added connectAction and connectControl methods