Added Linq extension function 'single' and 'singleOrDefault'.