Add a convenience function for getting the merged annotations