Make slim optional.