Added fredlif's proposed changes.

Signed-off-by: Hollie Teal <hollie@docker.com>