Use the ensure_prefix utility func