Updated documentation + credits to @askucher