Rework on use declaration in views.

Signed-off-by: crynobone <crynobone@gmail.com>