Maybe complain about non vector inputs?