Fixed infinite recursion issue with applyDynamic
Merge branch 'master' into scala-2.10