Adding ldp support