Fix adding of interfaces

`shift 3` doesn't do anything if there are only 2 parameters.