Small optimization for of_once()