A bit of cleanup and simplification.

Signed-off-by: retep998 <retep998@verizon.net>