Fixed failing unit tests with jdk1.7 - unable to determine setter parameter type of generics.