Made method non-public.
Fixed missing assignment.