Avoid promise creation for constants.