Refactored to DRY up argument length checks
Merge pull request #2 from FreakyDazio/dry-arg-length

Refactored to DRY up argument length checks