Fix a bug in a label generation and add a simple usage.