Return value to fix java reflection warning