Fixed documentation and added level argument to new