Fixed a string formatting error in Extension.