Passing object straight in through view