Cleans up the spec