Added handlers and root restrictions.