Add documentation and rename import variable