Move analysis functions into a separate analyzer namespace.