Make module be able to cast new object