Resolved warnings in Slideshapefactory