Performing Object Operations using the Swift API