Added the option to specify whether the skeleton is for a state, default is formula