I wonder if you really need to have these little one-line functions.  Seems like it would just be easier to stick that one-line into the code.  If you're finding you need to put in that line too many times, consider switching over to an object-oriented interface.  i.e. pairing some state with a grouping of methods that act upon / manipulate it.  Then your code can just treat both the data and data-operations as a single unit.