Extracted interface from Status enum, so that people can use custom status codes
Merge pull request