Simplify static load_symbols function