Painel code refactoring.
Painel code refactoring.