Generic template interface for Crystal
