Move constructor attributes to prototype.
Update tests.
Update example.