Revert "Added ability to pass objects"

This reverts commit 6cb21c1245b944187393a92aeffdddc0a06a370e.