Moved volume attachment functions.