Add reference resolution for member accesses