Removed <: AnyRef requirement on PartialAction group-like elements.