Misc helpers for Nutshell