make model core methods readonly; minor fixes