Add environment hooks to big int