Fix undefined method `interface' error

Closes #11