adding more marshal methods.