Removed deprecated session_register calls.