Make fields case sensitive.
Refactor render function and tests.