Prototype for doc working. Time to implement all.