Removed unused smoothness stuff