Fix issues with inspect, also made it work in loose.