Fix build docs script.
Add statics.