set and get api now consistent with backbone