refactored view plugins