Protein targeting to endosomes and phagosomes via FYVE and PX domains.