Functor: add replace and adjust