Fixed some small errors / warnings.