Converted require metaparams to chaining

changes logic a bit, but looks nicer to me