Naive stub implementations for functions