Add documentation, delete unnecessary require