Raise error if number of parameters doesn't match selector.