Wrap function call
Fix specs