Native constructor