Optimised the way spec details were loaded.