Return None for get() to please unit tests
Add error handling for for loop in contracts