Add propType checking. Closes #2