Add specs for Environment#repository and make it public API
Add specs for Environment#schema