Adds detention cycles to behaviors api and cards