Update astro.py

Include unitType in classdef