Added spectrum wrapper class