def __dir__(self): warnings.warn("cortex.surfs is deprecated, use cortex.db instead", Warning) return db.__dir__()