Doctrine collection

Add doctrine collection to message (missing)
Change doctrine collection in thread from namespace in code to namespace's uses  declaration