Handle malformed document (no parent).

Signed-off-by: Toha <tohenk@yahoo.com>
Add composer binary.

Signed-off-by: Toha <tohenk@yahoo.com>