Modularized scheduler functionality.