update docs
refactoring: redundant code

construcror already not enumerable becouse it is a function
bugfix
add test