[Cookbook] Linting and general cleanup