Merge pull request #9 from ouven/master

register multiple setup functions