Refactor action loading in interfaces