template: added full objects as argument
Merge pull request #1 from antonamurskiy/master

template: added full objects as argument