Implement converting functionality. Some improvements to views.