Removed mode because their is no static method for it.