Add 4 new methods to active record component.