Updated to work how the documentation says it should work. Unfortunately it still doesn't work.