copied extension Declaration to annotation based impl