Updated Java BaseUserService to use generic plugin