Remove window dependency.