Added 'as' capability, channel pool and error logging