Implement makeId
Create automatic legends
Misc