in reply to Re^4: defining methods on the fly
in thread defining methods on the fly

From my understanding of his response that avoids the issue.