Finish attributes and implemented save method.