Refactoring and downtimes API

is it still needed?