Encapsulate spinner plugin functionality.