Move some code out of unsafe blocks.
Merge pull request #95 from servo/unsafe

Move some code out of unsafe blocks.