Add violations for implementing legacy interfaces

Fixes #1.