Remove replacing of element by passing to done() or returning from the ready callback. Don't rewrite context of lifecycle callbacks.