Add icon-pencil class for api. Fixes #1193