Fixed a bug that prevented proper registration.
Chunk size is not a instance property, not a constant.