Updated change directory methods.