Fix promise import.