Added slider() to genericElements.