Autofill inputs

Closes #44