It is actually supposed to be 'memoize'.
Slight cleanup of the association code.