Adding setters for link class and other miscellaneous things.