(refactor) Removed Alloy and use AnyMap directly.

Alloy brings almost no benefit as a wrapper and using AnyMap directly allows us
to depend directly on more generic modules like rust-plugin.