Add support for names with spaces in `o` function