add support for static interface

Reviewer: trivial