Add dependensies and security classes.