Prune unused code; allow addl hash functions
Fix vm context to include require