Implement Rest parameters support

Close #195