Slightly refactors Pricing.attach to correctly chain dependent pricing functions

Signed-off-by: Christopher Rogers <chrissrogers@gmail.com>