Added convenience method for status codes