Minor defineProperty fix