change relation methods.
remove unused class