Add special API for generating slugs.