Check for required properties.

Signed-off-by: Sébastien Gross <seb•ɑƬ•chezwam•ɖɵʈ•org>
Merge pull request #1051 from renard/check-properties

Check for required properties.