Implement some methods and doc.go