Fix multiple invokes on type init