Add renderItem method, closes #240