Tighten up Slim code.