Fixing previous commit. Forgot to include some code.