Use loadContext. Closes #196 (github)