Add guard speedups and api model file