generate singleton methods, v1.0.0