Allow for accessor functions to be non-generators