Minor fixes in documentation and added final qualifiers when applicable