Sorted out a few errors.