Remove YAML directive and header