Remove deps from Pdf and Image