Eloquence aside, this assignment does work and serve the purpose at hand... why not just reorder this line to precede before the Spine assignment? Then you don't need the requireModel function below.