Use numeric class rather than custom data element.

Closes #30.