Add label attribute and a bit of documentation.