Support ruby 2.1 required keywords syntax

```ruby
def record(type:, **input)
end
```
raises 
```
     RuntimeError:
       unknown argument type: keyreq
```