Added proper error message for block modification in a root template.