Changed init() method to protected.