Refactor implementation of virtual methods.

1 job for add-interface