Removed unneeded binning function. Removed unhelpful attributes.