a backward compatible solution to reflection usage in current (2.1-beta-1) version of assembly plugin.