Based on the comment, it seems like this is supposed to be conditional on a debug flag?