Added 'public' to constructor.