Replace block rewrite with observers.