Add support for trait collections.

@Raizlabs/maintainers-ios and especially @arrouse: PR for you :)