Added better documentation and improved dynamic bool spec