It's silly to check for native window functions, especially in an internal module.