Fix duplicate id
Fixes #1138 - add documentation
Update output targets