Added slots, not working properly yet though.