Moved all volumes functions except attachment-related ones.