Added ann.components.slice, and solved minor problems with other components