Updated to latest version of the rest bundle. They have deprecated the rest package and the status code class has been moved to the bundle.