Add partial AMF0 implementation.