Rename getMyType() method