Moved constants out of interface. Closes #26.