Add normalize helper to core