update ed5-shim version, use built-in array functions
update functional methods, drop redundant code
extract aliases for some utility methods