Add fields to env for ctors and methods.