add docs for loggable