Function defineGetter