Changed capacity() tag to unstable and fixed doc assert