Not sure why this AllowUnsafe was added by resharper and/or vs - but should work ok