Move promise method to Deferred