Added phpdoc for virtual methods.