Various improvements to slugs