Adds the getAnnotations method, which retrieves all annotatable properties from the graphs.