added defineProperties shortcut