Fixed a setStage bug. Added namespace. Added options