Cleared up a couple of return value warnings