Created interfaces. Fixes #3.