Make item rendering dynamic.