Prepare methods in model