Add defaultAction property
Fix phpdoc