fixing documentation, adding docme hook