removing (deprecating) getsamp and gettype