Moved it to the interface. We may refactor it later when we create api-doc generator.