Add add_path.

This is an extension that tried to add a path.
Fix a bug.

Missing parameters.