Document can save itself
Created views API