Added some callbacks to tell the controller of the placeholder that the replacement is happening.