Oops, accidentally clobbered the model function attributes previously.