Better extensibility, allow access to getUid in subclass.