Make a nicer formatting for errbit.
Add environment.