Simplify ApiSpecHelpers.