Move provide form to the end of file

Any errors in the code after provide will leave the feature registered, so provide form should always be at the end.