Replace method, deprecated since Symphony 2.3.