Adding analysis stuff.