Adding mysteriously disappearing models code