Using primitive as parameter type instead of wrapper type for better developer mode compatibility

closes #7