added some missing class functions
fixed bug in tree edition since moving to association_proxy