Utilities for handling data