Refactor myadmin.views.