Changed opaque to type and corrected README.md