Move staticd to module scope