Made the programs model immutible to prevent errors as it is cached.