Separated schema from attributes and methods.