Add cleaner API for registering highlighter implementations