Service path '#' syntax and default behaviours

Implement #646