Replacing a finction call.