Rewriting CustomAreas