Change constructor to protected.