Pipeline accepts also synchronous functions now. If function has only one input parameter, it is assumed to be synchronous