fix some restful relation setters. implement some restful relation gettters.