Added support for undo and temporary tablespaces