Implemented svc_meta_apply and debugged it - fixes #3