Fixed type + updated documentation