Add missing period back in and general code clean up.