Remove redundant promise casting