impl generates method stubs for implementing an interface.