Install a better error message for the "Before first heading" error.