Move cookies from topological loader to templates