Added a completable function to the phase class