Adding 'encoding' directive.