Remove Promise.cast; update Promise.resolve