fix syntax/typos.
add weak dependancies.