Add simple function for inspecting the environment