Made the constructor protected.