Added registerItem method