Should not have code that is only used in spec tests. This does not smell right.