Rework trait definition to store more information
Provide a public way to get all keyword-mappings