Refactor: move hidden to the lib.