Add `format` and `interpolate` utility functions