Parse basic types