Made simple version of class property printer with reflection.