Removed importing of polynomial class since we didn't need it.