Added utility class for wrapping the future