Better logger and made the props public.