box: Add more utility functions