Backwards compatibility for cowboy