dynamicaly add this.middlewares
to prevent call Middlewares constructor in extended constructors