Utilities for Templight