Bump version 1.0.0.beta.5 and some minor fixes.