Basic implementation has been applied and basically "tested" manually. (Minor edit to properly annotate previous commit.)