Add get definition functionality