Added use of EnableSpec function