Add link types, fix class name casing, fix bug when opening links