Various code utilities for Alice