Replaced defineGetter. closes #224