[#45] Added callback before_create and method calculate_price