Process inputs by passing a transform callable.