'Add a hook to dynamically compute a member.
Parameters
member : string
The name of the member
func : callable
The function to call to get dynamically-computed values
for the member.'

def add_hook(self, member, func):

    self._hooks[member] = func
