Use helper functions for some actions.