Revert "Remove public method declaration in interfaces"

This reverts commit 994fa6fc551485244986f5ebd3df2ae099c36209.