Merge pull request #147 from doowb/master

Calling registerFunctions and registerPartial functions properly
Merge pull request #148 from doowb/master

Updating to call registerFunctions properly
the default doesn't need to pass in anything