Added PHPDoc to init() method