minor: fix "Cannot reduce the visibility of the inherited method" error