Extracted matchers global functions to spec Api.