add support for 'get_communicator' directive