More removal of deprecated methods.
Remove deprecated get_d_occupation.