Refs #9. Fixing warnings.