WEB-2930: Made type a mandatory property
WEB-2930: bumped version and tweaked after code review
WEB-2930: Updated tests
Small tweak using else if
WEB-2930: Tweaked comment to match code
Merge pull request #4 from Shortbreaks/requiredType

WEB-2930: Made type a mandatory property