Added better documentation
Added the new attributes
avoid using hasattr, using a flag instead