Presume you mean to wrap this in an if end block to check if development before you even register this. If so, +1.