More refactoring. Created default custom type and sequential array support