Added input capability to function and OpsFunction classes.