Add nin support
Merge pull request #23 from stackmob/nin

Add nin support