Symbol detail code refactor