Fixed configuration error when no types are defined