Documented code a bit.