Add DofInput and DofOutput for better readability