It does not really matter here, but it probably makes sense to move it  
before the creation of the endpoint.