Fix stupid bugs - libraries not imported.