Compatibility with spyder < 2.3