Removed class attributes

Fixed data not being properly initiated
Fixed binary data not being properly assigned