Removed unused code from Slate