Extract splat params

Simplest way of doing this. will merge if there's no problems.

should fix #4 

cc @swuecho