Adds some resource reading stuff.