Clean up user data accessing by making get_fns a method on Window