Refactor EnvironmentRecordTrait
functions
#1569
Merged
EnvironmentRecordTrait
functions
#1569