Simplified promise declaration.