Added documentation to ast and method list to object definition and rename declarations to definitions