Remove redundant casts to String.
Removed unnecessary import of DynamicForm.