Added 'position' and 'parentBlock' options, default to end of body