Add a setter to inputs.
Revert old commit.
Fix DB exceptions.