mark these methods as const since they return const pointers to the members.