Added in connection and env to methods