Renamed module from promises -> when.java