Add missing type bounds.