#407 Fixed setting a status variable instead of having an undefined init in REST status registry.