Implementing support for multiple AMF collections