Fixed property injection and converted String to int.