Updated to work with the latest API from Minime\Annotations library