generate strongly typed views from types