Fix build issue with clang/release builds.

Cleanup inlined templated methods to avoid linking issues when linking plugins
that added new subclasses for the domains.

Change-Id: I1860aaa354a5e81e0014579383922575a2a37fbb
Merge topic 'fix_release_build'

2972e9c Fix build issue with clang/release builds.