Adds class thumbnail generator