Fix indentation
Add phpDoc to instance() method
Add phpdoc to fail_notices()