Additional utility functions.