Utility functions (e.g. header parsers)