Add constants and auto-init for static find

need to add a migration for ci.