Fix profile edits.

Closes #50.