Fixes for serializers and extractors
Merge branch 'master' into scala-2.11