Move slot duration into configuration file.