Revert "Added some irrelevant scala code."

This reverts commit ff0dd22a29976a198a5e7a423060cc05a7e62cd7.