by slashrsm: Smarter way of determining property names.