[Core] Add type and size to SharedLibraryAtom.