Utilities for AFS management