Adding a 'single' attribute support.