Removing duplicated code on Registry. Now inherits from TypedArray