refactor, making an explicit getter method for scope.interval rather than relying on unique attribute name. Fixes #667