Added ability to instantiate custom Stage classes using Lib.create