Fix argument processing in init. Closes #148.