Removed unecessary window conversion.