Fix undefined constant, add PHPDoc, refactor Set::__call()