Added support for quantities in custom recipes. Closes #2