Move some code out of unsafe blocks. #95

Merged
merged 1 commit into from Aug 19, 2014