Support environments in repositories