Fixed a cornercase, added return type info to newMember.