Used recordtype to improve Component declaration syntax