Added status codes to return array
Disabled debug settings hook registration