Made sure the interfaces extends the right interface.