Fixed __defineGetter__ bug.

Fixed bug where getters defined with __defineGetter__ would be executed
during class creation.