Added the very, very minimum amount of code needed for graph types.