Add checks for type, we're only supporting boolean, int, list and string.
Enhance some wording and the examples.