Initial support for extending sponate maps after their definition
Added support to allow functions as reference targets, to create references on access