Added size preconditions.
Removed useless method.
Cleanup.