Updated some of the methods and variables.