Seperated the automatic coding methods into it's own parent class.