Added missing redeclare

This avoids an error in OpenModelica. This commit also improves the documentation.
Improved documentation