Fix inheritance of interface function