Adds encoding declaration