Removed the unused encoding parameter.