Dynamical systems and commutants in crossed products