Added strong type declarations to functions
Merge pull request #11 from benjimarshall/master

Added strong type declarations to functions