Revert "Removed code."

This reverts commit 60021bdac0d96a49f2b33863c46be23900795e49.