Updated each file to work with Memoir class.