Add decode_links function for other features