Add functions for setting disposition.