Some initial work on adding support for atomic parameters to procedures.