Avoid issues if an object is not passed in.