Optional: move this and other "non-trivial" accessors to the implementation file.