Using Environment.prototype