extension of the AutomaitonElement wrapper to support several types of the source element