Fixed console.log for non-objects.