Brings new declarations from toolkit version 8.0, also fixes some pointers used in function declarations.