Deleted docs, add override

also added more flattify stuff