Small API simplification.